package com.inossem.warehousestorage_inossem.bean.outStorage;

import com.inossem.warehousestorage_inossem.bean.common.Bean;

import java.util.List;

/**
 * Created by leij on 2017/7/12.
 */

public class OutStorageReturnConfirmRequestBean extends Bean {

    /**
     * purchaseNumber : CGDD201707101234
     * outStorageNumber : CKD12345678901
     * voucherDate : 2017-07-19
     * postDate : 2017-07-19
     * operatorList : [{"id":"111"},{"id":"222"}]
     * materielList : [{"serial":"1","outStorageNumber":"20","positionList":[{"position":"A15-010-0101070","batch":"10000","number":"10"},{"position":"A15-010-0101071","batch":"10001","number":"13"},{"position":"A15-010-0101072","batch":"10002","number":"18"}]},{"serial":"2","outStorageNumber":"98","positionList":[{"position":"B15-010-0101070","batch":"80000","number":"120"},{"position":"B15-010-0101071","batch":"80001","number":"100"},{"position":"B15-010-0101072","batch":"80002","number":"7"}]}]
     */

    private String purchaseNumber;
    private String outStorageNumber;
    private String voucherDate;
    private String postDate;
    private String isFocus;
    private List<OperatorListBean> operatorList;
    private List<MaterielListBean> materielList;

    public String getIsFocus() {
        return isFocus;
    }

    public void setIsFocus(String isFocus) {
        this.isFocus = isFocus;
    }

    public String getPurchaseNumber() {
        return purchaseNumber;
    }

    public void setPurchaseNumber(String purchaseNumber) {
        this.purchaseNumber = purchaseNumber;
    }

    public String getOutStorageNumber() {
        return outStorageNumber;
    }

    public void setOutStorageNumber(String outStorageNumber) {
        this.outStorageNumber = outStorageNumber;
    }

    public String getVoucherDate() {
        return voucherDate;
    }

    public void setVoucherDate(String voucherDate) {
        this.voucherDate = voucherDate;
    }

    public String getPostDate() {
        return postDate;
    }

    public void setPostDate(String postDate) {
        this.postDate = postDate;
    }

    public List<OperatorListBean> getOperatorList() {
        return operatorList;
    }

    public void setOperatorList(List<OperatorListBean> operatorList) {
        this.operatorList = operatorList;
    }

    public List<MaterielListBean> getMaterielList() {
        return materielList;
    }

    public void setMaterielList(List<MaterielListBean> materielList) {
        this.materielList = materielList;
    }

    public static class OperatorListBean {
        /**
         * id : 111
         */

        private String id;
        private String roleCode;

        public String getRoleCode() {
            return roleCode;
        }

        public void setRoleCode(String roleCode) {
            this.roleCode = roleCode;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }
    }

    public static class MaterielListBean {
        /**
         * serial : 1
         * outStorageNumber : 20
         * positionList : [{"position":"A15-010-0101070","batch":"10000","number":"10"},{"position":"A15-010-0101071","batch":"10001","number":"13"},{"position":"A15-010-0101072","batch":"10002","number":"18"}]
         */

        private String serial;
        private String outStorageNumber;
        private String materielCode;
        private List<PositionListBean> positionList;

        public String getMaterielCode() {
            return materielCode;
        }

        public void setMaterielCode(String materielCode) {
            this.materielCode = materielCode;
        }

        public String getSerial() {
            return serial;
        }

        public void setSerial(String serial) {
            this.serial = serial;
        }

        public String getOutStorageNumber() {
            return outStorageNumber;
        }

        public void setOutStorageNumber(String outStorageNumber) {
            this.outStorageNumber = outStorageNumber;
        }

        public List<PositionListBean> getPositionList() {
            return positionList;
        }

        public void setPositionList(List<PositionListBean> positionList) {
            this.positionList = positionList;
        }

        public static class PositionListBean {
            /**
             * position : A15-010-0101070
             * batch : 10000
             * number : 10
             */

            private String position;
            private String batch;
            private String number;

            public String getPosition() {
                return position;
            }

            public void setPosition(String position) {
                this.position = position;
            }

            public String getBatch() {
                return batch;
            }

            public void setBatch(String batch) {
                this.batch = batch;
            }

            public String getNumber() {
                return number;
            }

            public void setNumber(String number) {
                this.number = number;
            }
        }
    }
}
